<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/jsp/ningbo/common.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    <meta name="format-detection" content="telephone=no" />
    <meta name="format-detection" content="email=no" />
    <meta name="format-detection" content="address=no;">
    <title>就业岗位信息</title>
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/jsp/ningbo/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/jsp/ningbo/css/job.css">
	<script src="<%=request.getContextPath()%>/jsp/ningbo/js/jquery-1.9.1.min.js"></script>
    <script src="<%=request.getContextPath()%>/jsp/ningbo/js/bootstrap.min.js"></script>
</head>
<body>
	<%-- <!-- head start -->
    <header id="header">
            <span>
            <a id="returnButton" onClick="javascript :window.history.back(); return false;">
            <img src="<%=request.getContextPath()%>/jsp/ningbo/images/arrow_return.png" width="28" height="28"></a></span>
            
             <h1>就业岗位信息</h1>
    </header>
    <!-- head end -->
    <div class="mt50"></div> --%>
    <div class="content padbot60">
    	<!-- menu start -->
        <div class="title-box">
            <ul>
                <li onclick="add($(this))" class="on">条件查询</li>
                <li onclick="add($(this))">分类查询</li>
            </ul>
        </div>
        <!-- menu end -->
        <!-- list start -->
        <div class="list-box rank">
            <ul class="list_form rank-box on">
                <li>
                    <span class="text">岗位名称</span>
                    <span class="wid68">
                        <input class="wid68" id="gangweiNameId" type="text" placeholder="请输入岗位名称" onmouseover=this.focus();this.select(); onClick="this.value='';this.style.color='#000000'" style="color:#999">
                    </span>
                </li>
                <li>
                    <span class="text"><font class="lsp30">性</font>别</span>
                    <span class="wid68">
                        <label><input name="sexId" id="man" type="radio" value="1" class="checkbox" >&nbsp;男</label>
                        <label><input name="sexId" id="women" type="radio" value="2" class="checkbox" >&nbsp;女</label>
                        <label><input name="sexId" id="nosex"   type="radio" value="" checked class="checkbox" >&nbsp;不限</label>
                  </span>
                </li>
                <li>
                    <span class="text"><font class="lsp30">学</font>历</span>
                    <span class="select2">
                        <select name="" class="select_p1" id="xueliId" style="width:150px;" >
                        	<option value="">不限</option>
                                <c:if test="${not  empty xueLiList}">
     							<c:forEach var="itemInfo" items="${xueLiList}"> 
 									<option value="${itemInfo.aaa102}">${itemInfo.aaa103}</option>
	               				</c:forEach>
	               			</c:if>
                        </select>
                  </span>
                </li>
                <li>
                    <span class="text"><font class="lsp30">地</font>区</span>
                    <span class="select2">
                        <select name="" id="didianId" class="select_p1" style="width:150px;">
                          <option value="">请选择工作地区</option>
                          <option value="A1">不限</option>
                          <option value="A2">市区</option>
                          <option value="82">慈溪市</option>
                          <option value="81">余姚市</option>
                          <option value="83">奉化市</option>
                          <option value="26">宁海县</option>
                          <option value="25">象山县</option>
                          <option value="A3">市外</option>                   
                        </select>
                  </span>
                </li>
                
                <div class="mid_btn3">
                	<font class="font_orange font12">*以上内容均为选填项，可以不填直接搜索</font>
                    <a onclick="query_gangwei()" class="btn btn-primary btn-block btn_blue martop20">
                      立即查询
                    </a>
                </div>
             </ul>
             <ul class="list_job rank-box">
             	<li onclick="query_byBigSort('000009H')">
                	<h3>单位负责人</h3>
                </li>
                <li onclick="query_byBigSort('000009Z')">
                	<h3>专业技术人员</h3>
                </li>
                <li onclick="query_byBigSort('000005O')">
                	<h3>办事人员和有关人员</h3>
                </li>
                <li onclick="query_byBigSort('0000065')">
                	<h3>商业,服务业人员</h3>
                </li>
                <li onclick="query_byBigSort('000008D')">
                	<h3>农林牧渔水利生产人员</h3>
                </li>
                <li onclick="query_byBigSort('000008T')">
                	<h3>生产运输设备操作工</h3>
                </li>
             </ul>
         </div>
         
         <!-- list end -->
    </div>
    
    <script>
    	function add(e){
        e.parent().find("li").removeClass("on");
        e.addClass("on");
        var index= e.index();
        $(".rank-box").hide();
        $(".rank ul:nth-child("+(index+1)+")").show();
    }
    	
   	/* 查询岗位信息 */
   	function query_gangwei(){
   		var xueli =  $("#xueliId").val();
   		var didian =  $("#didianId").val();
   		var gangweiName = $("#gangweiNameId").val();
   		var sexVal = $("input[name='sexId']:checked").val();
    	window.location.href = ctxPath + "/nbwx/m/query_gangwei.json?xueli="+xueli+"&didian="+didian+"&gangweiName="+gangweiName+"&sexVal="+sexVal;
   	}	
	/* 查询岗位信息根据大类查询 */
   	function query_byBigSort(bigSortVal){
    	window.location.href = ctxPath + "/nbwx/m/query_gangweiBySort.json?bigSort="+bigSortVal;
   	}	

    </script>
</body>
</html>